package com.freeter.modules.cityrecord.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.freeter.common.utils.PageInfo;
import com.freeter.common.utils.PageUtils;
import com.freeter.modules.cityrecord.entity.CityRecordEntity;
import com.freeter.modules.cityrecord.entity.view.CityHotMapView;
import com.freeter.modules.cityrecord.entity.view.CityRecordView;
import com.freeter.modules.cityrecord.entity.vo.CityRecordVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 城市记录
 *
 * @author xuchen
 * @email 171998110@qq.com
 * @date 2019-04-07 14:01:49
 */
@SuppressWarnings({"unchecked", "rawtypes"})
public interface CityRecordService extends IService<CityRecordEntity> {


    List<CityRecordVO> selectListVO(Wrapper<CityRecordEntity> wrapper);

    CityRecordVO selectVO(@Param("ew") Wrapper<CityRecordEntity> wrapper);

    List<CityRecordView> selectListView(Wrapper<CityRecordEntity> wrapper);

    CityRecordView selectView(@Param("ew") Wrapper<CityRecordEntity> wrapper);

    PageUtils queryPage(PageInfo pageInfo, Wrapper<CityRecordEntity> wrapper);

    public List<CityHotMapView> selectHotCityMap();

    List<CityRecordEntity> selectRecordByProvince(String provinceName);
}

